package mylab.base.foundation.template.pojo;


import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import mylab.base.foundation.lang.IdName;

@Getter
@Setter
@EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = false)
public abstract class BaseIdPojo<K> extends Pojo implements IdName<K> {

    @EqualsAndHashCode.Include
    protected K id;

    protected String name;

}
